package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/10/18.
 */
public class InitBean {


    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"imgUrl":"https://img.ekuaitu.cn/kuaitudongli/picture/","carbonEmissionCar":"205.0","nightTime":"18:30-8:30","appleUrl":"itunes.apple.com/cn/app/kuai-tu-chu-xing/id1166954547?l=zh&ls=1&mt=8","isAuditing":"0","service_call":"147852","carbonEmissionBike":"21.0","dayTime":"8:30-18:30","versionControl":{"id":33,"platform":1,"type":2,"versionNum":"2.5.2","style":1,"modifyTime":1489038981000,"createTime":1489038981000,"version":0,"updateTitle":"新版本更新标题","updateContent":"新版本更新内容\n换行测试"}}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * imgUrl : https://img.ekuaitu.cn/kuaitudongli/picture/
         * carbonEmissionCar : 205.0
         * nightTime : 18:30-8:30
         * appleUrl : itunes.apple.com/cn/app/kuai-tu-chu-xing/id1166954547?l=zh&ls=1&mt=8
         * isAuditing : 0
         * service_call : 147852
         * carbonEmissionBike : 21.0
         * dayTime : 8:30-18:30
         * versionControl : {"id":33,"platform":1,"type":2,"versionNum":"2.5.2","style":1,"modifyTime":1489038981000,"createTime":1489038981000,"version":0,"updateTitle":"新版本更新标题","updateContent":"新版本更新内容\n换行测试"}
         */

        private String imgUrl;
        private String carbonEmissionCar;
        private String nightTime;
        private String appleUrl;
        private String isAuditing;
        private String service_call;
        private String carbonEmissionBike;
        private String dayTime;
        private VersionControlBean versionControl;
        private String isShowShake;
        private String lotteryHistory;

        public String getIsShowShake() {
            return isShowShake;
        }

        public void setIsShowShake(String isShowShake) {
            this.isShowShake = isShowShake;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getCarbonEmissionCar() {
            return carbonEmissionCar;
        }

        public void setCarbonEmissionCar(String carbonEmissionCar) {
            this.carbonEmissionCar = carbonEmissionCar;
        }

        public String getNightTime() {
            return nightTime;
        }

        public void setNightTime(String nightTime) {
            this.nightTime = nightTime;
        }

        public String getAppleUrl() {
            return appleUrl;
        }

        public void setAppleUrl(String appleUrl) {
            this.appleUrl = appleUrl;
        }

        public String getIsAuditing() {
            return isAuditing;
        }

        public void setIsAuditing(String isAuditing) {
            this.isAuditing = isAuditing;
        }

        public String getService_call() {
            return service_call;
        }

        public void setService_call(String service_call) {
            this.service_call = service_call;
        }

        public String getCarbonEmissionBike() {
            return carbonEmissionBike;
        }

        public void setCarbonEmissionBike(String carbonEmissionBike) {
            this.carbonEmissionBike = carbonEmissionBike;
        }

        public String getDayTime() {
            return dayTime;
        }

        public void setDayTime(String dayTime) {
            this.dayTime = dayTime;
        }


        public String getLotteryHistory() {
            return lotteryHistory;
        }

        public void setLotteryHistory(String lotteryHistory) {
            this.lotteryHistory = lotteryHistory;
        }


        public VersionControlBean getVersionControl() {
            return versionControl;
        }

        public void setVersionControl(VersionControlBean versionControl) {
            this.versionControl = versionControl;
        }

        public static class VersionControlBean {
            /**
             * id : 33
             * platform : 1
             * type : 2
             * versionNum : 2.5.2
             * style : 1
             * modifyTime : 1489038981000
             * createTime : 1489038981000
             * version : 0
             * updateTitle : 新版本更新标题
             * updateContent : 新版本更新内容
             * 换行测试
             */

            private String id;
            private int platform;
            private int type;
            private String versionNum;
            private int style;
            private long modifyTime;
            private long createTime;
            private int version;
            private String updateTitle;
            private String updateContent;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getPlatform() {
                return platform;
            }

            public void setPlatform(int platform) {
                this.platform = platform;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getVersionNum() {
                return versionNum;
            }

            public void setVersionNum(String versionNum) {
                this.versionNum = versionNum;
            }

            public int getStyle() {
                return style;
            }

            public void setStyle(int style) {
                this.style = style;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getUpdateTitle() {
                return updateTitle;
            }

            public void setUpdateTitle(String updateTitle) {
                this.updateTitle = updateTitle;
            }

            public String getUpdateContent() {
                return updateContent;
            }

            public void setUpdateContent(String updateContent) {
                this.updateContent = updateContent;
            }
        }
    }
}
